package com.mes.device.server;

import com.mes.common.pojo.MESResult;
import com.mes.pojo.device.Upkeep;

/**
 * @Author 张喆
 * @Company
 * @Description
 * @Time 2024/10/19 10:10
 */

public interface UpkeepServer {
    MESResult queryAll(Upkeep upkeep, Integer page, Integer limit);
    MESResult queryById(String upkeepId);
    MESResult queryDesc(String upkeepId);
    MESResult deleteUpkeep(String upkeepId);
    MESResult updateUpkeep(Upkeep upkeep);
    MESResult insertUpkeep(Upkeep upkeep);
    MESResult insertConnectDevice(String upkeepId,String[] deviceIds);
    MESResult insertConnectUpkeepType(String upkeepId,String[] upkeepTypeIds);
    MESResult deleteConnectDevice(String upkeepId,String deviceId);
    MESResult deleteConnectUpkeepType(String upkeepId,String upkeepTypeId);
}
